<?php
/**
 * Navigation helper for admin module
 *
 * @category    IPB_CMS
 * @package     Application_Module_Admin
 * @subpackage  View_Helper
 * @copyright   Copyright (c) 2009 IPB CMS <http://ipb-cms.googlecode.com/>
 * @license     http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License
 * @author      Henrique Moody <henriquemoody@gmail.com>
 */
class View_Helper_Navigation_Admin extends View_Helper_Navigation_Abstract
{

    /**
     * Returns the default container for admin module
     *
     * @return Zend_Navigation
     */
    public function  __construct()
    {
        $pages = array(
            array(
                'label' => 'Home',
                'action' => 'index',
                'controller' => 'index',
                'module' => 'admin',
                'route' => 'default'
            ),
            array(
                'label' => 'People',
                'action' => 'index',
                'controller' => 'person',
                'module' => 'admin',
                'route' => 'default'
            ),
            array(
                'label' => 'Users',
                'action' => 'index',
                'controller' => 'user',
                'module' => 'admin',
                'route' => 'default'
            )
        );
        $container = new Zend_Navigation($pages);
        $this->setContainer($container);
    }

}
